﻿<%@ Page Language="C#" EnableViewStateMac="False" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">
	private string _controlPrefix;

	private string ControlPrefix
	{
		get
		{
			if (_controlPrefix == null)
				_controlPrefix = Request.QueryString["_ControlPrefix"];

			return _controlPrefix;
		}
	}
	
	private string GetControlFullId(string id)
	{
		return ControlPrefix + "$" + id;
	}
	
	private string GetControlValue(string id)
	{
		return Request.Form[GetControlFullId(id)];
	}
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title>[预览]</title>
</head>
<body>
	<form id="form1" runat="server">
		<table align="center" width="552" border="0" cellpadding="11" cellspacing="0">
			<tr><td align="right">[<a href="javascript:window.close();">关闭窗口</a>]</td></tr>
			<tr><td><div class="ArticleTitle"><%= GetControlValue("CtrlTitle") %></div></td></tr>
			<tr>
				<td>
					<div class="ArticleInfo">
						<%= GetControlValue("CtrlArtSource")%>
						时间：<%= DateTime.Now.ToString("yyyy年M月d日 H时mm分") %>
						阅读次数：256
					</div>
				</td>
			</tr>
			<tr><td><div class="ArticleContent"><%= Server.HtmlDecode(GetControlValue("CtrlArtContent")) %></div></td></tr>
			<tr><td><div class="info-display" style="border:1px solid #ccc; background-color:#eee; padding:5px;">说明：<br />以上预览信息的“时间”及“阅读次数”为假定值，不代表实际发布后的值。</div></td></tr>
			<tr><td align="right">[<a href="javascript:window.close();">关闭窗口</a>]</td></tr>
		</table>
	</form>
</body>
</html>